package io.renren.modules.basic.service.impl;

import io.renren.modules.basic.dao.MtCcEncodingContentDao;
import io.renren.modules.basic.entity.MtCcEncodingContentEntity;
import io.renren.modules.basic.service.MtCcEncodingContentService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;




@Service("mtCcEncodingContentService")
public class MtCcEncodingContentServiceImpl extends ServiceImpl<MtCcEncodingContentDao, MtCcEncodingContentEntity> implements MtCcEncodingContentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MtCcEncodingContentEntity> page = this.page(
                new Query<MtCcEncodingContentEntity>().getPage(params),
                new QueryWrapper<MtCcEncodingContentEntity>()
        );

        return new PageUtils(page);
    }

}